<?php
try{
    include '../ini.php';
    $_SESSION['captcha'] = simple_php_captcha();
    $contentForLayout=$dt_smarty->fetch('login/registered.tpl');
    $dt_smarty->assign('titleForLayout','Đăng Ký');
    $dt_smarty->assign('contentForLayout',$contentForLayout);
    $dt_smarty->display('layouts/default.tpl');
}catch(Exception $e){
    $dbh=NULL;
}